<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<c:set var="grant_code">
	<x:out select="$xmlData/data/proposal/grant_code" />
</c:set>
<c:set var="sub_grant_code">
	<x:out select="$xmlData/data/proposal/sub_grant_code" />
</c:set>


<div class="t_bar">经费投入情况（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="budget1" cellspacing="1">
	<tr align="center" class="li_2">
		<td colspan="10%">实际完成投资总额</td>
		<td colspan="23%">&nbsp;<x:out select="$xmlData/data/budgets/already_input_total" /></td>
		<td colspan="10%">计划新增投资</td>
		<td colspan="23%">&nbsp;<x:out select="$xmlData/data/budgets/add_research" /></td>
		<td colspan="10%">申请金额</td>
		<td colspan="23%">&nbsp;<x:out select="$xmlData/data/budgets/apply_money" /></td>
	</tr>
</table>
<br />
<div class="t_bar">实际完成投资总额资金来源（万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="budget1" cellspacing="1">

	<tr align="center" class="li_2">
		<td rowspan="2">自有资金</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="4">已获政府资助</td>
		<td rowspan="2" colspan="2">其他资金</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<td>区级</td>
	</tr>
	<tr align="center" class="li_1">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund_over" /></td>



		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund_over" /></td>

		<td>&nbsp;<x:out
				select="$xmlData/data/budgets/provincial_fund_over" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund_over" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/area_fund_over" /></td>
		<td colspan="2">&nbsp;<x:out
				select="$xmlData/data/budgets/other_fund_over" /></td>
	</tr>

</table>
<br />
<div class="t_bar">计划新增投资来源（单位：万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	id="budget1" cellspacing="1">
	<tr align="center" class="li_2">
		<td rowspan="2">自有资金</td>
		<td rowspan="2">银行贷款</td>
		<td colspan="4">申请政府资助</td>
		<td rowspan="2" colspan="2">其他资金</td>
	</tr>
	<tr align="center" class="li_2">
		<td>国家</td>
		<td>省级</td>
		<td>市级</td>
		<td>区级</td>
	</tr>
	<tr align="center" class="li_1">
		<td>&nbsp;<x:out select="$xmlData/data/budgets/own_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/bank_fund" /></td>



		<td>&nbsp;<x:out select="$xmlData/data/budgets/country_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/provincial_fund" /></td>

		<td>&nbsp;<x:out select="$xmlData/data/budgets/city_fund" /></td>
		<td>&nbsp;<x:out select="$xmlData/data/budgets/area_fund" /></td>
		<td colspan="2">&nbsp;<x:out
				select="$xmlData/data/budgets/other_fund" /></td>
	</tr>

</table>
<br />
<div class="t_bar">项目投资支出情况（万元）</div>
<table class="t_css" width="100%" border="0" cellpadding="0"
	cellspacing="1">

	<tr  class="li_2">
		<td align="center" width="21%" rowspan="2">支出科目</td>
		<td class="TblHead" align="center" colspan="2">实际投资支出</td>
		<td class="TblHead" align="center" colspan="5">计划新增投资支出</td>
	</tr>
	<tr class="li_2">
		<td class="TblHead" align="center" width="11%">总额</td>
		<td class="TblHead" align="center" width="12%">其中：已获资助资金</td>
		<td class="TblHead" align="center" width="11%">总额</td>
		<td class="TblHead" align="center" width="12%">其中：申请资助资金</td>
		<td class="TblHead" align="center" width="11%">${year}年</td>
		<td class="TblHead" align="center" width="11%">${year+1}年</td>
		<td class="TblHead" align="center" width="11%">${year+2}年</td>
	</tr>
	<x:forEach select="$xmlData/data/budget/invest_detail/invest" var="invest" begin="1">
		<tr>
			<td align="left" >&nbsp;<x:out select="$invest/name" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_total" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_invest" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_allot" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_self" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_country" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_the" /></td>
			<td align="center">&nbsp;<x:out select="$invest/total_fou" /></td>
		</tr>
	</x:forEach>
	<tr align="center">
		<td >合计</td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_total" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_invest" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_allot" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_self" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_country" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_the" /></td>
		<td >&nbsp;<x:out select="$xmlData/data/budget/invest_detail/invest/total_fou" /></td>
	</tr>
</table>

